package com.imooc.newretail.smartcabinet.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 设备运行日报
 * </p>
 *
 * @author Hank
 * @since 2020-07-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("IOT_DEVICE_DAYREPORT")
@ApiModel(value="IotDeviceDayreport对象", description="设备运行日报")
public class IotDeviceDayreport implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("DAYREPORT_ID")
    private String dayreportId;


    @ApiModelProperty(value = "主键")
    @TableField("CABINET_ID")
    private String cabinetId;


    @ApiModelProperty(value = "报表日期")
    @TableField("REPORT_DATE")
    private LocalDate reportDate;


    @ApiModelProperty(value = "开门次数")
    @TableField("OPENING_TIMES")
    private Integer openingTimes;


    @ApiModelProperty(value = "剩余库存")
    @TableField("STOCK_GOODS")
    private Integer stockGoods;


    @ApiModelProperty(value = "出商品库存")
    @TableField("OUT_STOCK_GOODS")
    private Integer outStockGoods;


    @ApiModelProperty(value = "入商品库存")
    @TableField("IN_STOCK_GOODS")
    private Integer inStockGoods;


    @ApiModelProperty(value = "告警次数")
    @TableField("ALERT_NUM")
    private Integer alertNum;


}
